package com.huanmeiqi.lucene.demo.my;

import org.apache.lucene.analysis.Analyzer;

/**
 * @author cq.Wang
 * @date 2018/8/9 16:27
 * @description
 */
public class SuffixAnalyzer extends Analyzer {
    @Override
    protected TokenStreamComponents createComponents(String s) {
        // 装饰者模式
        SuffixTokenizer tokenizer = new SuffixTokenizer();


        return null;
    }
}
